class test{
	
	public static void main(String[] args) {
		int n=5;
		Tower[] towers = new Tower[n];
		// set index for each disks
		for (int i=0;i<3;i++)
			towers[i] = new Tower(i);
		//filled with no. in disks[0]
		for ( int i=n-1 ; i>=0 ; i-- )
			towers[0].add(i);
		towers[0].moveDisks(n, towers[2], towers[1]);
		
	}
}